package com.weizai.carshop.model.entiity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("address")
public class AddressEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String name;

    private String tel;

    private String areaCode;

    private String province;

    private String city;

    private String county;

    private String addressDetail;

    private Boolean isDefault;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
